package com.czxy.demo02;

import javax.annotation.Resource;


public class UserService {

    @Resource
    private UserDao userDao;


    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public  void  findAll(){

        userDao.findAll();
    }


}
